package com.ziyun.pop.modules.storeMaterials.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ziyun.pop.modules.storeMaterials.entity.StoreMaterialOutDetailEntity;
import com.ziyun.pop.modules.storeMaterials.entity.StorematerialinOutEntity;

import java.math.BigDecimal;
import java.util.List;

/**
 * @Author ZhaoWei
 * @Date 2018/10/11 13:37
 * @Version V1.0
 */
public interface StoreMaterialOutDetailService extends IService<StoreMaterialOutDetailEntity> {

	void saveBatch(List<StoreMaterialOutDetailEntity> detialListSave, StorematerialinOutEntity storematerialinOutEntity);

	List<StoreMaterialOutDetailEntity> getListstoreMaterialOutDetail(Integer outId,String outNO);

	BigDecimal getMaterialQuantityByMaterialId(String materialId, String outNo);

}
